package com.sky.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@ApiModel("新增员工时传递的数据模型")
@AllArgsConstructor
@NoArgsConstructor
public class EmployeeDTO implements Serializable {
    @ApiModelProperty("主键")
    private  long id;
    @ApiModelProperty("身份证")
    private String idNumber;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("性别")
    private  String  sex;
    @ApiModelProperty("账号")
    private String username;

}
